package com.xinminda.dcf.ui.news.activity;

import android.content.Context;
import android.content.Intent;
import com.orhanobut.logger.Logger;
import com.xinminda.dcf.R;
import com.xinminda.dcf.app.AppConstant;
import com.xinminda.dcf.ui.base.BaseActivity;

public class NewsDetailActivity extends BaseActivity {

    private String newsId;
    private String loadUrl;
    public static void startAction(Context mContext, String newsId){
        Intent intent = new Intent(mContext, NewsDetailActivity.class);
        intent.putExtra(AppConstant.NEWS_POST_ID, newsId);
        mContext.startActivity(intent);
    }

    @Override
    public int getLayout() {
        return R.layout.activity_news_detail;
    }

    @Override
    public void init() {
        newsId = getIntent().getStringExtra(AppConstant.NEWS_POST_ID);
        Logger.d("newsId="+newsId);
    }

    @Override
    public void initPresenter() {

    }

}
